14. [Optional] Notebook + Quiz: Other Encodings
There is a key difference between the binary 1, 0 encodings that you've been working with, and the -1, 0, 1 encoding system: In the 1, 0 coding system, comparisons are to the baseline category as we've discussed, whereas in the 1, 0, -1 coding system comparisons are to the overall average.
The coding has all been done in this notebook. In this optional concept, you may study the notebook and interpret the results in the quiz questions below.
Code
If you need a code on the https://github.com/udacity.
QUIZ QUESTION::
Use the two models you fit above to fill in the blank with the correct value for each of the interpretations below.
ANSWER CHOICES:
Description |
Value |
---|---|
|
|
|
|
For every victorian house we predict a |
|
As compared to a lodge home, we predict a victorian home to have a higher price by |
|
As compared to the average home, we predict the price of a victorian home to be |
SOLUTION:
Description |
Value |
---|---|
As compared to a lodge home, we predict a victorian home to have a higher price by |
|
As compared to the average home, we predict the price of a victorian home to be |
|
|
|
For every victorian house we predict a |
|
|